package cn.edu.hrbcu.es.invigilatemanagerment.service;

import cn.edu.hrbcu.es.invigilatemanagerment.pojo.RolePermission;

import java.util.List;

public interface IRolePermissionService {
    Integer insertRolePermission(RolePermission rolePermission);
    Integer deleteRolePermissionByPrimaryId(Integer roleId);
    Integer updateRolePermissionByPrimaryId(RolePermission rolePermission);
    List<RolePermission> queryRolePermissionsByIds(List<Integer> ids);

    RolePermission queryRolePermissionsById(Integer id);
    List<RolePermission> queryAllRolePermission();

    List<RolePermission> queryRolePermissionByPage(int pageNow, int pageSize);

    int queryRolePermissionCount();
}
